<template>
	<view class="content">
		<div class="baseCon" style="margin-top: 12px;">
			<div class="item-title">退款进度</div>

			<div class="progbox" v-for="(item,index) in list" :key="index">
				<div class="prolefw">
					<div class="prwY" :class="index==0?'prwY2':''"></div>
					<div class="prwL"></div>
				</div>
				<div>
					<div class="ptxt-p1" :class="index==0?'ptxt-S':''">{{item.logTitle}}</div>
					<div class="ptxt-p2">{{item.logDetails}}</div>
					<div class="ptxt-p3">{{item.gmtCreate}}</div>
				</div>
			</div>
		</div>
	</view>
</template>

<script>
	import {
		refundLogList,
	} from '@/request/api.js'
	export default {
		components: {},
		data() {
			return {
				eId: null,
				list: [],
			}
		},
		mounted() {},
		onShow() {

		},
		onLoad(e) {
			this.eId = e.id
			this.getDetail()
		},
		methods: {
			getDetail() {
				refundLogList({
					id: this.eId
				}).then(res => {
					this.list = res.data
				})
			},
		}
	}
</script>

<style scoped>
	.progbox {
		display: flex;
		margin-top: 10px;
	}

	.prolefw {
		width: 12px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-right: 16px;
		position: relative;
	}

	.prwY {
		width: 10px;
		height: 10px;
		border-radius: 10px;
		background: #A1ABB9;
		position: absolute;
	}

	.prwY2 {
		background: #FF6C1E;
	}

	.prwL {
		width: 1px;
		height: auto;
		background: #ECECEC;
	}

	.ptxt-p1 {
		font-size: 15px;
		font-weight: bold;
	}

	.ptxt-p2 {
		font-size: 13px;
	}

	.ptxt-p3 {
		font-size: 13px;
		color: #83878E;
	}

	.ptxt-S {
		color: #FF6C1E;
	}
</style>